export interface TAthlete {
    name: string;
    medals: {
        gold: number;
        silver: number;
        bronze: number;
    },
    person: {
        age: number;
        country: string;
    },
}

export function getDataSet(): TAthlete[] {
    return [
        {
            "name": "Michael Phelps",
            "person": {
                "age": 23,
                "country": "United States"
            },
            "medals": {
                "gold": 8,
                "silver": 0,
                "bronze": 0
            }
        },
        {
            "name": "Michael Phelps",
            "person": {
                "age": 19,
                "country": "United States"
            },
            "medals": {
                "gold": 6,
                "silver": 0,
                "bronze": 2
            }
        },
        {
            "name": "Michael Phelps",
            "person": {
                "age": 27,
                "country": "United States"
            },
            "medals": {
                "gold": 4,
                "silver": 2,
                "bronze": 0
            }
        },
        {
            "name": "Natalie Coughlin",
            "person": {
                "age": 25,
                "country": "United States"
            },
            "medals": {
                "gold": 1,
                "silver": 2,
                "bronze": 3
            }
        },
        {
            "name": "Aleksey Nemov",
            "person": {
                "age": 24,
                "country": "Russia"
            },
            "medals": {
                "gold": 2,
                "silver": 1,
                "bronze": 3
            }
        },
        {
            "name": "Alicia Coutts",
            "person": {
                "age": 24,
                "country": "Australia"
            },
            "medals": {
                "gold": 1,
                "silver": 3,
                "bronze": 1
            }
        },
        {
            "name": "Missy Franklin",
            "person": {
                "age": 17,
                "country": "United States"
            },
            "medals": {
                "gold": 4,
                "silver": 0,
                "bronze": 1
            }
        },
        {
            "name": "Ryan Lochte",
            "person": {
                "age": 27,
                "country": "United States"
            },
            "medals": {
                "gold": 2,
                "silver": 2,
                "bronze": 1
            }
        },
        {
            "name": "Allison Schmitt",
            "person": {
                "age": 22,
                "country": "United States"
            },
            "medals": {
                "gold": 3,
                "silver": 1,
                "bronze": 1
            }
        },
        {
            "name": "Natalie Coughlin",
            "person": {
                "age": 21,
                "country": "United States"
            },
            "medals": {
                "gold": 2,
                "silver": 2,
                "bronze": 1
            }
        },
        {
            "name": "Ian Thorpe",
            "person": {
                "age": 17,
                "country": "Australia"
            },
            "medals": {
                "gold": 3,
                "silver": 2,
                "bronze": 0
            }
        },
        {
            "name": "Dara Torres",
            "person": {
                "age": 33,
                "country": "United States"
            },
            "medals": {
                "gold": 2,
                "silver": 0,
                "bronze": 3
            }
        },
        {
            "name": "Cindy Klassen",
            "person": {
                "age": 26,
                "country": "Canada"
            },
            "medals": {
                "gold": 1,
                "silver": 2,
                "bronze": 2
            }
        },
        {
            "name": "Nastia Liukin",
            "person": {
                "age": 18,
                "country": "United States"
            },
            "medals": {
                "gold": 1,
                "silver": 3,
                "bronze": 1
            }
        },
        {
            "name": "Marit Bjørgen",
            "person": {
                "age": 29,
                "country": "Norway"
            },
            "medals": {
                "gold": 3,
                "silver": 1,
                "bronze": 1
            }
        },
        {
            "name": "Sun Yang",
            "person": {
                "age": 20,
                "country": "China"
            },
            "medals": {
                "gold": 2,
                "silver": 1,
                "bronze": 1
            }
        },
        {
            "name": "Kirsty Coventry",
            "person": {
                "age": 24,
                "country": "Zimbabwe"
            },
            "medals": {
                "gold": 1,
                "silver": 3,
                "bronze": 0
            }
        },
        {
            "name": "Libby Lenton-Trickett",
            "person": {
                "age": 23,
                "country": "Australia"
            },
            "medals": {
                "gold": 2,
                "silver": 1,
                "bronze": 1
            }
        },
        {
            "name": "Ryan Lochte",
            "person": {
                "age": 24,
                "country": "United States"
            },
            "medals": {
                "gold": 2,
                "silver": 0,
                "bronze": 2
            }
        },
        {
            "name": "Inge de Bruijn",
            "person": {
                "age": 30,
                "country": "Netherlands"
            },
            "medals": {
                "gold": 1,
                "silver": 1,
                "bronze": 2
            }
        }
    ]
}
